#include <iostream>
#include <array>
#include <fmt/format.h>
using namespace std;

int main() {
    constexpr std::array frequencies{ 0,0,0,0,0,0,1,4,7,9 };

    for (size_t i{ 0 }; i < frequencies.size();++i) {
        if (i < 10) {
            cout << fmt::format("{:02d}-{:02d}:", i * 10, i * 10 + 9);
        }
        else {
            cout << fmt::format("{:>5d}:", 100);
        }

        for (int stars{ 0 };stars < frequencies[i];++stars) {
            cout << "*";
        }
        cout << "\n";
    }


    return 0;
}